package com.ypinkj.app.service.impl;

import com.ypinkj.app.entity.Industry;
import com.ypinkj.app.mapper.IndustryMapper;
import com.ypinkj.app.service.IndustryService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author LF
 * @since 2020-10-13
 */
@Service
public class IndustryServiceImpl extends ServiceImpl<IndustryMapper, Industry> implements IndustryService {


    @Override
    public List<Industry> fineTree() {
        return baseMapper.getTree();
    }
}
